import axios from '@/axios'
enum API{
    SIGN_URL="/sign",
    LOGIN_URL="/login",
    LOGOUT_URL="/logout"
}
// 注册
export const reqSign = (data: any) => axios.post(API.SIGN_URL, data)
// 登录
export const reqLogin = (data: any) => axios.post(API.LOGIN_URL, data)

// 登出
export const reqLogout = () => axios.get(API.LOGOUT_URL)
// export const reqLogout = () => axios.post(API.LOGOUT_URL)


